package com.peter.proxy.hkgolden.web;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Singleton;
import com.google.inject.servlet.GuiceServletContextListener;
import com.peter.proxy.hkgolden.core.ServletModuleSit;

@Singleton
public class ApplicationContextListener extends GuiceServletContextListener {

	@Override
	protected Injector getInjector() {
		return Guice.createInjector(new ServletModuleSit());
	}
}
